const client=require('mongodb').MongoClient
const url='mongodb://localhost:27017/data-analysis'
let enterpriseCollection='enterprise-info'

// client.connect(url,function(err,db){
//     if(err) throw err
//     module.exports.find=db.db('data-analysis').collection(enterpriseCollection).find
//     console.log('连接数据库成功')
// })

module.exports.client=client




